package com.business.bean;

import org.xserver.common.bean.BaseResponse;

import java.io.Serializable;

public class DefaultJsonResponse<T> extends BaseResponse<T> implements Serializable{

	private static final long serialVersionUID = 5862483697124950176L;

	public static final String []API_REQUEST_SUCCESS = {"200", "成功执行"};

	private String code;

	private String msg;
	
	
	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public String getMsg() {
		return msg;
	}


	public void setMsg(String msg) {
		this.msg = msg;
	}


	public DefaultJsonResponse() {
		this.setCode(API_REQUEST_SUCCESS[0]);
		this.setMsg(API_REQUEST_SUCCESS[1]);
	}
	
}
